using System;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Dao
{
    public class TableMonsterWeaponResDao:DaoBase<TableMonsterWeaponRes>
    {
        public override void AddPrimaryIndex(TableMonsterWeaponRes model)
        {
            cachePrimary[model.heroId.ToString()] = model;
        }

        public override string GetFileName()
        {
            return "TableMonsterWeaponRes.txt";
        }

        protected override TableMonsterWeaponRes ParseRowData(string[] rowData)
        {
            TableMonsterWeaponRes data = new TableMonsterWeaponRes();
			data.heroId = rowData [0];
			data.modelRes0 = rowData [1];
			data.modelRes1 = rowData [2];

            return data;
        }



    }

}
